package 运动员和教练;

public class pingpangplayer extends player implements speakEnglish{
    public pingpangplayer() {
    }

    public pingpangplayer(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("乒乓球运动员吃黄瓜");
    }

    @Override
    public void study() {
        System.out.println("学习乒乓球");
    }
    public void speakEnglish(){
        System.out.println("乒乓球运动员出国讲英语");
    }
}
